package org.zebra.common.util;

import java.util.HashSet;
import java.util.Set;

/**
 * @author zhanghontgbin
 */
public final class UriWhiteUtil {

    private static Set<String> white;

    static {
        white = new HashSet<>();
        white.add("/koTime/**");
        white.add("/instances/**");
        white.add("/error/**");
        white.add("/applications/**");
        white.add("/actuator/**");
        white.add("/swagger-resources/**");
        white.add("/v2/**");
        white.add("/webjars/**");
        white.add("/doc.html");
    }

    private UriWhiteUtil() {}

    public static Set<String> getDefaultUriWhite() {
        return white;
    }
}
